package com.example.medical.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @TableName leadership
 */
@TableName(value ="leadership")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Leadership implements Serializable {
    /**
     * 领导主键
     */
    @TableId(value = "leadership_id",type = IdType.ASSIGN_ID)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long leadershipId;

    /**
     * 领导账号
     */
    @TableField(value = "leadership_name")
    private String leadershipName;

    /**
     * 领导密码
     */
    @TableField(value = "leadership_password")
    private String leadershipPassword;

    /**
     * 领导原密码
     */
    @TableField(value = "password")
    private String password;

    /**
     * 领导名字
     */
    @TableField(value = "leadership_nick")
    private String leadershipNick;

    /**
     * 领导电话
     */
    @TableField(value = "leadership_phone")
    private Long leadershipPhone;

    /**
     * 领导身份证
     */
    @TableField(value = "leadership_number")
    private Long leadershipNumber;

    /**
     * 领导头像路径
     */
    @TableField(value = "leadership_img_url")
    private String leadershipImgUrl;

    /**
     * 领导性别：
0：男
1：女
2：未知
     */
    @TableField(value = "leadership_sex")
    private Integer leadershipSex;

    /**
     * 领导邮箱
     */
    @TableField(value = "leadership_email")
    private String leadershipEmail;

    /**
     * 领导添加时间
     */
    @TableField(value = "save_time")
    private String saveTime;

    /**
     * 领导逻辑删除
     */
    @TableField(value = "is_delete")
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}